<template>
    <div id="app">
        <router-view/>
    </div>
</template>

<script>
    import baseURL from '_conf/url'

    export default {
        name: 'App',
        // state: {
        //     avatorImgPath: '',
        // },
        // mutations: {
        //     setAvator(state, avatorPath) {
        //         state.avatorImgPath = avatorPath
        //     },
        // },
        created() {
            // console.log(location.hostname);
            // let params={};
            // params.propertyNo="baidu.aaaa.com";
            // this.postRequest("/api/dept/getPropertyInfo", params).then(res => {
            //     console.log(res);
            //     let act=baseURL+res.loginPic
            //     avatorImgPath = act
            // });
        }
    }
</script>

<style lang="less">
    .size {
        width: 100%;
        height: 100%;
    }

    html, body {
        .size;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    #app {
        .size;
    }

    .form-row {
        margin: 10px 0px;
    }

    .myOpenFrom {
        margin: 10px 30px;
    }

    .filters-input {
        width: 250px;
        input {
            width: 250px;
            height: 40px;
            line-height: 40px;
        }
    }

</style>
